﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace PersianProxy.Clients.Windows
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new rrfMain());

            Application.ApplicationExit += Application_ApplicationExit;
        }

        static void Application_ApplicationExit(object sender, EventArgs e)
        {
            Fiddler.FiddlerApplication.Shutdown();
            System.Threading.Thread.Sleep(1000);
        }

    }
}
